package com.idea.relax.tool.core.enums;

/**
 * @author: 沉香
 * @date: 2023/5/10
 * @description:
 */
public class Test {

	public static void main(String[] args) {
		String user = "web";
//		System.out.println(EnumUtils.include(UserType.class, user));
//		System.out.println(EnumUtils.equal(UserType.WEB, user));
//		System.out.println(EnumUtils.ofValueEnum(UserType.values(), user));
//		System.out.println("===========================");
		String noticeKey = "消费者公告";
		String noticeVal = "2";
//		System.out.println(EnumUtils.include(NoticeType.values(), noticeVal));
//		System.out.println(EnumUtils.equal(NoticeType.CONSUMER_TYPE, noticeVal));
//		System.out.println(EnumUtils.getValue(NoticeType.values(), noticeKey));
//		System.out.println(EnumUtils.getKey(NoticeType.values(), noticeVal));
//		System.out.println(EnumUtils.keyEqual(NoticeType.CONSUMER_TYPE, noticeKey));
	}

}
